<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>分支结构</title>
		
	</head>
	<body>
		<div id="app"> 
		<h1>考试成绩</h1>
		录入成绩：<input type="text" v-model="score" />
		<div v-if="score>=90">优秀</div>
		<div v-else-if="score>=80">良好</div>
		<div v-else-if="score>=70">中等</div>
		<div v-else-if="score>=60">及格</div>
		<div v-else>你是最棒的</div>
		</div>
		<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
		<script>
			const app = new Vue({
				el:'#app',
				data: {
				    score: 100000000000
				},
				//定义vue对象中的方法
				methods: {
					
				}
			})
		</script>
		
	</body>
</html>